Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add keep alive support to the TCP mode of statsd #3781

Merged
merged 1 commit into from
Feb 16, 2018
Merged

Add keep alive support to the TCP mode of statsd #3781

merged 1 commit into from
Feb 16, 2018

Conversation

canha
Copy link
Contributor

@canha canha commented Feb 10, 2018

Similar implementation to the socket listener input plugin and its original pull request. Found this was really necessary to keep the server connections clean, because you can't rely on clients always being able to close them (FIN), specially if you are running Telegraf behind a load balancer. Default behaviour is still false, so that it doesn't disrupt existing setups.

Same as the pull request 2697, unit tests for this are hard to accomplish ("There's no ability to query a socket for its current keep-alive setting") but you can observe the behaviour using packet capturing.

Required for all PRs:

  • Signed CLA.
  • Associated README.md updated.

@danielnelson danielnelson added this to the 1.6.0 milestone Feb 16, 2018
@danielnelson danielnelson added the feat Improvement on an existing feature such as adding a new setting/mode to an existing plugin label Feb 16, 2018
@danielnelson danielnelson merged commit cd620ac into influxdata:master Feb 16, 2018
@canha canha deleted the statsd-tcpkeepalive branch February 16, 2018 13:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feat Improvement on an existing feature such as adding a new setting/mode to an existing plugin
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants